Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update starters and examples #32221

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 5, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@wordpress/block-library ^2.29.2 -> ^2.29.3 age adoption passing confidence
prettier (source) 2.2.1 -> 2.3.2 age adoption passing confidence
prismjs ^1.23.0 -> ^1.24.1 age adoption passing confidence
theme-ui 0.7.3 -> 0.10.0 age adoption passing confidence

Release Notes

WordPress/gutenberg

v2.29.3

Compare Source

prettier/prettier

v2.3.2

Compare Source

diff

Fix failure on dir with trailing slash (#​11000 by @​fisker)
$ ls
1.js  1.unknown

v2.3.1

Compare Source

$ prettier . -l
1.js
$ prettier ./ -l
[error] No supported files were found in the directory: "./".

v2.3.0

Compare Source

diff

🔗 Release Notes

PrismJS/prism

v1.24.1

Compare Source

Updated components
Updated plugins

v1.24.0

Compare Source

New components
Updated components
Updated plugins
Other
system-ui/theme-ui

v0.10.0

Compare Source

🎉 This release contains work from a new contributor! 🎉

Thank you, Vlad Shcherbin (@​vladshcherbin), for all your work!

Release Notes
Allow easy styling autofilled of Inputs (#​1811)

Background color of autofilled inputs will now default to theme.colors.background. It can be changed by setting autofillBackgroundColor prop.


🚀 Enhancement
🐛 Bug Fix
  • Fix typo #​1835 (@​vladshcherbin)
  • @theme-ui/color-modes, @theme-ui/components, @theme-ui/editor, theme-ui
  • @theme-ui/color, @theme-ui/css
  • @theme-ui/color, @theme-ui/components, @theme-ui/css, @theme-ui/custom-properties, @theme-ui/editor, gatsby-theme-style-guide, @theme-ui/preset-bootstrap, @theme-ui/preset-bulma, @theme-ui/preset-dark, @theme-ui/preset-deep, @theme-ui/preset-funk, @theme-ui/preset-future, @theme-ui/preset-polaris, @theme-ui/preset-roboto, @theme-ui/preset-sketchy, @theme-ui/preset-swiss, @theme-ui/preset-system, @theme-ui/preset-tailwind, @theme-ui/style-guide
🏠 Internal
Authors: 6

v0.9.1

Compare Source

🐛 Bug Fix
Authors: 1

v0.9.0

Compare Source

Release Notes
modernize Babel config (#​1721)

Theme UI packages became lighter! Built source code is now 9.5 kB (34%) smaller.

The trade-off is, Babel config has changed and it no longer supports Internet
Explorer 11. If you need to support legacy browsers, you can transpile
node_modules (e.g. with
next-transpile-modules).


🚀 Enhancement
  • @theme-ui/preset-base, @theme-ui/preset-bootstrap, @theme-ui/sidenav, @theme-ui/typography
🐛 Bug Fix
  • @theme-ui/components
    • fix(components): set Select's bgColor to "background" - fixes dark mode (@​hasparus)
📝 Documentation
Authors: 2

v0.8.4

Compare Source

🐛 Bug Fix
  • @theme-ui/theme-provider
⚠️ Pushed to stable
  • @theme-ui/theme-provider
Authors: 1

v0.8.3

Compare Source

🐛 Bug Fix
  • @theme-ui/color-modes
    • fix(color-modes): stop showing current color mode as initial mode in
      rawColors.modes (@​hasparus)
⚠️ Pushed to stable
  • @theme-ui/color-modes, @theme-ui/color, @theme-ui/components,
    @theme-ui/core, @theme-ui/css, @theme-ui/custom-properties,
    @theme-ui/editor, gatsby-plugin-theme-ui, gatsby-theme-code-recipes,
    gatsby-theme-style-guide, gatsby-theme-ui-layout, @theme-ui/match-media,
    @theme-ui/mdx, @theme-ui/parse-props, @theme-ui/preset-base,
    @theme-ui/preset-bootstrap, @theme-ui/preset-bulma,
    @theme-ui/preset-dark, @theme-ui/preset-deep, @theme-ui/preset-funk,
    @theme-ui/preset-future, @theme-ui/preset-polaris,
    @theme-ui/preset-roboto, @theme-ui/preset-sketchy,
    @theme-ui/preset-swiss, @theme-ui/preset-system,
    @theme-ui/preset-tailwind, @theme-ui/preset-tosh, @theme-ui/presets,
    @theme-ui/prism, @theme-ui/sidenav, @theme-ui/style-guide,
    @theme-ui/tachyons, @theme-ui/tailwind, @theme-ui/theme-provider,
    theme-ui, @theme-ui/typography
Authors: 1

v0.8.2 (Wed May 05 2021)

🐛 Bug Fix
  • @theme-ui/color-modes
    • fix(color-modes): merge rawColors even when there are no color modes
      (@​hasparus)
    • fix(color-modes): add initial color mode to a correct key
      (@​hasparus)
    • fix(color-modes): hotfix color modes provider to stop breaking rules of
      hooks (@​hasparus)
  • @theme-ui/color-modes, @theme-ui/css, @theme-ui/custom-properties,
    theme-ui
    • fix(color-modes): merge rawColors from nested theme providers
      (@​hasparus)

v0.8.1 (Wed May 05 2021)

🐛 Bug Fix
Authors: 2

v0.8.0 (Wed May 05 2021)

🔥 Breaking Changes and Deprecations
  • BREAKING: theme.config.useRootStyles now defaults to true following
    deprecation of useBodyStyles. Styles from theme.styles.root are now added
    to <html> element by default.

  • Moved theme configuration options to config object in theme.

    • Deprecations: useRootStyles, useCustomProperties,
      useColorSchemeMediaQuery, useBorderBox, and useLocalStorage options on
      the theme object are now scoped under a config object on the theme, and
      the root-level options, now deprecated, will be removed in a future release.

    (e.g. you should be setting theme.config.useBorderBox instead of
    theme.useBorderBox)

    • ⚠ All config options should be migrated at once. If Theme UI sees
      theme.config exists, it won't look for options on the theme.
  • Removed APIs, previously deprecated in 0.6.0

    • theme.useBodyStylestheme.config.useRootStyles
    • StyledThemed
🚀 Enhancements
  • @theme-ui/color-modes, @theme-ui/css, gatsby-plugin-theme-ui
🐛 Bug Fix
📝 Documentation
Authors: 5

🎉 v0.8.0 contains work from a new contributor! 🎉

Thank you, @​Zolwiastyl, for all your work!


v0.7.5 (Wed Apr 28 2021)

🐛 Bug Fix
📝 Docs
  • docs: useColorSchemeMediaQuery defaults to true
    (@​hasparus)
Authors: 2

v0.7.4 (Tue Apr 27 2021)

🐛 Bug Fix
Authors: 1

v0.7.3 (Wed Apr 21 2021)

🎉 This release contains work from a new contributor! 🎉

❤️ David Dios (@​dios-david)

Thanks for all your work!

✨ New Features
🐛 Bug Fix
  • @theme-ui/css
🔩 Dependency Updates
Authors: 3

v0.7.2 (Mon Apr 19 2021)

🎉 This release contains work from a new contributor! 🎉

Thank you, Jonathan Van Buren (@​vanbujm), for all
your work!

🐛 Bug Fix
🔩 Dependency Updates
Authors: 3

v0.7.0 (Thu Apr 15 2021)

🚀 Enhancement
🐛 Bug Fix
  • gatsby-plugin-theme-ui, gatsby-theme-code-recipes,
    gatsby-theme-style-guide, gatsby-theme-ui-layout
⚙️ Internal

v0.6.2 (Mon Apr 05 2021)

🐛 Bug Fix

v0.6.1

  • Reexported jsx as createElement to fix babel JSX pragma crash. Issue
    #​1603, PR
    #​1604 by @​ethanwu10.

    The following code doesn't crash anymore.

    <div {...{}} key="1" />

v0.6.0

changes relative to 0.3, not the latest 0.6 prerelease

What's New
  • Styled components dict was renamed to Themed to avoid
    confusion with styled components constructors from @emotion/styled and
    similar libraries.

  • theme.useRootStyles configuration option (false by default). Set it to
    true to add styles.root to html instead of body.

    • theme.useBodyStyles configuration option still defaults to true, but
      it's going in to be deprecated in favor of theme.useRootStyles in the
      future.
  • New scale: transitions supporting transition CSS property. Issue
    #​1079, PR
    #​1272

  • Objects in nested scales can now have a __default key. PR
    #​951

    Given the theme

    const theme = {
      colors: {
        primary: {
          __default: '#&#8203;00f',
          light: '#&#8203;33f',
        }
      }
    }
    

    color: 'primary' resolves to color: '#&#8203;00f'.

  • Configuration option for printing color mode. PR
    #​1267, issue
    #​1144. No more wasted
    ink.

    {
      initialColorModeName: "dark",
      printColorModeName: "light"
    }
    
  • A new component, Paragraph was added in PR
    #​1298

Breaking Changes
  • Theme UI 0.6 depends on Emotion 11, and isn't compatible with Emotion 10
    anymore.

    • If you didn't install Emotion separately, this update shouldn't affect you.
    • If your other dependencies depend on Emotion 10, and have no published
      versions for Emotion 11, you can use
      Yarn resolutions
      or
      Webpack's resolve.alias
      to enforce a version.

    Refer to Emotion 11 release notes for
    more information.

  • Color mode flash on first render is gone, but to achieve this we had to bring
    back theme.rawColors.

    • You can no longer read raw color values from theme.colors when reading
      theme from useThemeUI or inside sx.
    • .colors object contains Custom CSS Properties now.
    • If you need to pass original value somewhere where CSS Properties (e.g.
      WebGL Canvas) won't work use .rawColors.
  • Default color mode name is no longer "default" — it's now undefined, what
    represents the lack of color mode set by user or detected from preferences.

  • useColorSchemeMediaQuery defaults to true. Issue
    #​624, PR
    #​1373

    How to migrate? Add useColorSchemeMediaQuery: false to your theme if you
    don't have this property.
    Read more in the docs.

  • We no longer export internal React context named as Context 😅 It wasn't and
    it's still not public API, but if you used it and you really need it, you
    can grab it as __ThemeUIContext. (But please don't do this. Use
    ThemeProvider from @​theme-ui/core for local theme overrides instead.)

Deprecations
  • Styled will be removed in v0.7. Use Themed instead.
  • useBodyStyles will be removed in v0.7. Use useRootStyles instead.
TypeScript Changes

Theme UI is now written in TypeScript, and the emitted types differ from
@types/theme-ui.

  • false in now accepted in responsive tuple types. PR
    #​1499

  • Known colors (primary, text, background, accent, secondary) in
    ColorMode can now be nested scales.

    The following no longer typechecks, as colors.primary can be an object.

    sx={{
      color: theme => theme.colors?.primary?.toUpperCase()
    }}

    But the following code still works.

    sx={{
      color: theme => theme.colors?.primary
    }}

    If colors.primary is an object, colors.primary.__default is used.

  • false values are skipped before passing style objects to Emotion. Issue
    #​1297, PR
    #​1460.

    The following syntax is now supported

    sx={{ color: isActive && blue }}
  • "as" prop on Themed.X components now properly opts out of typechecking

    • TypeScript users, don't use ComponentProps<typeof Themed['div']>, import
      ThemedComponent and use ThemedComponent<'div'> instead.
  • Theme UI 0.6 depends on csstype v3
    instead of csstype v2.

  • Renamed types

    • Anything copied from styled-system types was renamed or removed.
    • SxProps was renamed to SxProp.
    • SxStyleProp, an alias for ThemeUIStyleObject was removed. Use
      ThemeUIStyleObject instead.

Refer to the changelog for a full list of changes.

v0.6.0-alpha.8 2021-02-19

  • Make the rename of Styled to Themed non-breaking. Add a deprecation
    warning on Styled until a future release. PR
    #​1461

  • Paragraph component's hardcoded responsive style has been removed (issue
    #​1476)

  • Fix issue where css custom vars are only added to body if modes is in the
    colors declaration of the theme.

  • BREAKING: Move theme configuration options to config object in theme.

v0.6.0-alpha.7 2021-02-15

  • Breaking TypeScript: Known colors (primary, text, background,
    accent, secondary) in ColorMode can now be nested scales.

    The following no longer typechecks, as colors.primary can be an object.

    sx={{
      color: theme => theme.colors?.primary?.toUpperCase()
    }}

    But the following code still works.

    sx={{
      color: theme => theme.colors?.primary
    }}

    If colors.primary is an object, colors.primary.__default is used.

  • Add theme.useRootStyles configuration option (false by default). Set it to
    true to add styles.root to html instead of body. theme.useBodyStyles
    configuration option still defaults to true, but it's going in to be
    deprecated in favor of theme.useRootStyles in the future.

  • Accept `false` in responsive tuple types. PR #​1499
  • Skip false values before passing style objects to Emotion. Issue #​1297, PR
    #​1460.

    • Allow `false` as style property value in TS types.

v0.6.0-alpha.6 2021-01-22

  • BREAKING: Default useColorSchemeMediaQuery to true. Issue #​624, PR
    #​1373

    How to migrate? Add useColorSchemeMediaQuery: false to your theme if you
    don't have this property.
    Read more in the docs.

  • Option for gatsby-plugin-theme-ui to disable body script
    (injectColorFlashScript, defaulting to true). Issue #​1369, PR #​1370

  • Bump versions @mdx-js/mdx and @mdx-js/react to ^1.6.22,
    gatsby-plugin-mdx to ^1.6.0. PR #​1351

  • Fix: "as" prop on Themed.X components now properly opts out of typechecking

    • TypeScript users, don't use ComponentProps<typeof Themed['div']>, import
      ThemedComponent<'div'> instead.
  • @theme-ui/prism: Support multiple highlight wrappers in a single code block.
    PR #​1393

v0.6.0-alpha.5 2021-01-22

  • Support a default key for object in scales. PR #​951

    Given the theme

    const theme = {
      colors: {
        primary: {
          __default: '#&#8203;00f',
          light: '#&#8203;33f',
        }
      }
    }
    

    color: 'primary' resolves to color: '#&#8203;00f'.

v0.6.0-alpha.4

  • Extract objects with nested variant props. Issue #​1357
  • Add ability for MDX styling, and fix mdx table align styles. Issue #​654
  • Remove recursive default values from CSS custom properties. PR #​1327
  • Render extra Embed props onto iframe tag instead of wrapping div. Issue
    #​966, PR #​1122

v0.6.0-alpha.2

  • Remove recursive default values from CSS custom properties. PR #​1327

v0.6.0-alpha.1

v0.6.0-alpha.0

  • BREAKING: Rename Styled component to Themed. PR #​1323
  • BREAKING: Make Text component use span instead of div
  • breaking TypeScript: Renamed and removed types. PR #​1308
    • SxProps to SxProp.
    • SxStyleProp, an alias for ThemeUIStyleObject removed. Use
      ThemeUIStyleObject instead.
  • Fix: Add sx props types to all props accepting className. PR #​1308
  • Fix WithPoorAsProp to work with ComponentProps utility type. PR #​1308

v0.5.0-alpha.2 2020-11-30

v0.5.0-alpha.1 2020-11-26

  • Bump React peerDependency to "^16.14.0 || ^17.0.0".
  • Support automatic JSX runtime. Issue #​1160, PR #​1237
  • Bump React peerDependency to "^16.14.0 || ^17.0.0".
  • Apply variant styles before responsive styles. Issues #​1030, and #​720, PR
    #​1273

v0.5.0-alpha.0 2020-11-20

  • BREAKING: Upgrade to Emotion 11, and csstype 3. PR #​1261
    • We are now depending on @emotion/react@11 instead of @emotion/core@10
    • sx prop types are still global, and we opt in for Emotion css prop types
      (This will change in the future.)
    • Refer to Emotion 11 release notes for
      more information.

v0.4.0-rc.14 2020-11-20

@theme-ui/color-modes
  • Fix color CSS Custom Properties recursive reference

v0.4.0-rc.13 2020-11-20

@theme-ui/css

v0.4.0-rc.12 2020-11-18

theme-ui
  • Use correct version of @​theme-ui/components in theme-ui package. (Locked
    dependencies on other Theme UI packages)

v0.4.0-rc.11 2020-11-18

docs
  • Add documentation on CSS keyframes #​1269
@theme-ui/color-modes
  • Add configuration option for printing color mode. PR #​1267, issue #​1144.

    {
      initialColorModeName: "dark",
      printColorModeName: "light"
    }
    
@theme-ui/components
  • Add arrow prop to Select to allow passing custom arrow icon. Issues #​1177
    #​1151, PR #​1232
  • Fix: Field component uses id if passed. PR #​1252
  • Fix circular import in Switch.js

v0.4.0-rc.9 2020-11-17

@theme-ui/components
  • Fix Button not respecting hidden prop. Issue #​1254
  • Add minWidth: min-content on Checkbox and Radio. PR #​1256

v0.4.0-rc.8 2020-11-09

@theme-ui/color
  • Fix support for rgb/hsl color values
@theme-ui/components
  • Add Switch component #​1035

    <Label>
      <Switch /> Enable email alerts?
    </Label>
  • Pass size prop down to IconButton in Close component. PR #​1242

    <Close size={24} />
examples
  • Convert Gatsby example to TypeScript and stop using removed components. Issue
    #​1227, PR #​1229

v0.4.0-rc.7 2020-11-08

@theme-ui/core
  • Make ThemeProvider theme prop required
@theme-ui/editor
  • Removes overrid

Configuration

📅 Schedule: "before 7am on Monday" in timezone GMT.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the topic: automation Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot label Jul 5, 2021
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 5, 2021
@wardpeet wardpeet removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 5, 2021
@wardpeet wardpeet merged commit 5044c5f into master Jul 5, 2021
@wardpeet wardpeet deleted the renovate/starters-examples-minor branch July 5, 2021 12:51
pragmaticpat pushed a commit to pragmaticpat/gatsby that referenced this pull request Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: automation Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants